﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GS.Cricket.Entities;

namespace GS.Cricket.Service
{
    public interface IPlayerService
    {
        int Add(Player player);
        void Update(Player player);
        void Delete(int playerId);
        Player GetById(int playerId);
        IEnumerable<Player> GetByTeam(int teamId);
        IEnumerable<Player> GetAllPlayers();
    }
}
